//加载页
var loader = new resLoader({
	resources:[
		"https://cdnjinlingguan.influencee.cn/img/loading/bear.png",
		"https://cdnjinlingguan.influencee.cn/img/loading/loading_text.png",
		"https://cdnjinlingguan.influencee.cn/img/loading/bg.jpg",
		"https://cdnjinlingguan.influencee.cn/img/loading/logo.png",
		"https://cdnjinlingguan.influencee.cn/img/bg.jpg",
		"https://cdnjinlingguan.influencee.cn/img/0.png",
		"https://cdnjinlingguan.influencee.cn/img/1.png",
		"https://cdnjinlingguan.influencee.cn/img/2.png",
		"https://cdnjinlingguan.influencee.cn/img/3.png",
		"https://cdnjinlingguan.influencee.cn/img/4.png",
		"https://cdnjinlingguan.influencee.cn/img/5.png",
		"https://cdnjinlingguan.influencee.cn/img/6.png",
		"https://cdnjinlingguan.influencee.cn/img/7.png",
		"https://cdnjinlingguan.influencee.cn/img/8.png",
		"https://cdnjinlingguan.influencee.cn/img/9.png",
		"https://cdnjinlingguan.influencee.cn/img/arrow_left.png",
		"https://cdnjinlingguan.influencee.cn/img/arrow_right.png",
		"https://cdnjinlingguan.influencee.cn/img/bear.png",
		"https://cdnjinlingguan.influencee.cn/img/bear_bg.png",
		"https://cdnjinlingguan.influencee.cn/img/bear_bg1.png",
		"https://cdnjinlingguan.influencee.cn/img/camera.png",
		"https://cdnjinlingguan.influencee.cn/img/doorposter.jpg",
		"https://cdnjinlingguan.influencee.cn/img/erji.png",
		"https://cdnjinlingguan.influencee.cn/img/hongbao.png",
		"https://cdnjinlingguan.influencee.cn/img/light.png",
		"https://cdnjinlingguan.influencee.cn/img/naifen.png",
		"https://cdnjinlingguan.influencee.cn/img/naifen2.png",
		"https://cdnjinlingguan.influencee.cn/img/no_title.png",
		"https://cdnjinlingguan.influencee.cn/img/plate1.png",
		"https://cdnjinlingguan.influencee.cn/img/plate2.png",
		"https://cdnjinlingguan.influencee.cn/img/play.png",
		"https://cdnjinlingguan.influencee.cn/img/swiper_tip.png",
		"https://cdnjinlingguan.influencee.cn/img/text_shandow.png",
		"https://cdnjinlingguan.influencee.cn/img/togift.png",
		"https://cdnjinlingguan.influencee.cn/img/toplayer.png",
		"https://cdnjinlingguan.influencee.cn/img/video_bg.png",
		"https://cdnjinlingguan.influencee.cn/img/xinglixiang.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/bear.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/bottom_bg.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/camera.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/erji.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/hongbao.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/linghaoli.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/naifen.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/naifenguan.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/number_title.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/prize_stage.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/prize_tip.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/shandow.png",
		"https://cdnjinlingguan.influencee.cn/img/step1/xinglixiang.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/time_bg.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/0.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/1.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/2.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/3.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/4.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/5.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/6.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/7.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/8.png",
		"https://cdnjinlingguan.influencee.cn/img/step2/9.png",
		"https://cdnjinlingguan.influencee.cn/img/step4/prizer_bg.png"
	],
	onStart:function (total) {
		console.log('staty:' + total);
	},
	onProgress:function (current,total) {
		console.log(current + '/' + total);
		if (current >= total){
			$('.loading_wrap').fadeOut(0);
			$('.video_wrap').fadeIn(0);
		}
	},
	onComplete:function (total) {
		console.log('加载完毕:' + total + '个资源');
	}
});
loader.start();
